package com.chendx.store.user.feign;

import com.chendx.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by chendx on 2022/4/21.
 */
@FeignClient("store-order")
public interface OrderFeign {

    /**
     * 用户所有订单
     * @return
     */
    @GetMapping("/api/order/userall")
    public ResponseResult loadUserAllOrder();
}
